package com.baidu.service;

import com.baidu.entity.PageResult;
import com.baidu.pojo.Dietarylibrary;

import java.util.Map;

public interface DietarylibraryService {
	Dietarylibrary findDietarylibraryById(Integer id);

	PageResult findByPage(Integer currentPage, Integer pageSize, String queryString);

	void addDietarylibrary(Dietarylibrary dietarylibrary);

	void editDietarylibrary(Dietarylibrary dietarylibrary);

	void deleteDietarylibraryById(Integer id);
}
